package com.hdw.med.bean.model;

import java.io.Serializable;
import java.util.Date;

public class MdMedTblog implements Serializable {

	private static final long serialVersionUID = 1L;

	private String naTp;

	private String cdTb;

	private String des;

	private String naUseCre;

	private Date dtSysCre;

	private Byte euStatus;

	private String euParamtp;

	private String method;

	private String param;

	private Long idTblog;

	private Date dtSysModi;

	public Long getIdTblog() {
	    return idTblog;
	}

	public void setIdTblog(Long idTblog) {
	    this.idTblog = idTblog;
	}

	public String getNaTp() {
	    return naTp;
	}

	public void setNaTp(String naTp) {
	    this.naTp = naTp == null ? null : naTp.trim();
	}

	public String getCdTb() {
	    return cdTb;
	}

	public void setCdTb(String cdTb) {
	    this.cdTb = cdTb == null ? null : cdTb.trim();
	}

	public String getEuParamtp() {
	    return euParamtp;
	}

	public void setEuParamtp(String euParamtp) {
	    this.euParamtp = euParamtp == null ? null : euParamtp.trim();
	}

	public String getMethod() {
	    return method;
	}

	public void setMethod(String method) {
	    this.method = method == null ? null : method.trim();
	}

	public Byte getEuStatus() {
	    return euStatus;
	}

	public void setEuStatus(Byte euStatus) {
	    this.euStatus = euStatus;
	}

	public String getDes() {
	    return des;
	}

	public void setDes(String des) {
	    this.des = des == null ? null : des.trim();
	}

	public String getNaUseCre() {
	    return naUseCre;
	}

	public void setNaUseCre(String naUseCre) {
	    this.naUseCre = naUseCre == null ? null : naUseCre.trim();
	}

	public Date getDtSysCre() {
	    return dtSysCre;
	}

	public void setDtSysCre(Date dtSysCre) {
	    this.dtSysCre = dtSysCre;
	}

	public Date getDtSysModi() {
	    return dtSysModi;
	}

	public void setDtSysModi(Date dtSysModi) {
	    this.dtSysModi = dtSysModi;
	}

	public String getParam() {
	    return param;
	}

	public void setParam(String param) {
	    this.param = param == null ? null : param.trim();
	}

	@Override
	public boolean equals(Object that) {
	    if (this == that) {
	        return true;
	    }
	    if (that == null) {
	        return false;
	    }
	    if (getClass() != that.getClass()) {
	        return false;
	    }
	    MdMedTblog other = (MdMedTblog) that;
	    return (this.getIdTblog() == null ? other.getIdTblog() == null : this.getIdTblog().equals(other.getIdTblog())) && (this.getNaTp() == null ? other.getNaTp() == null : this.getNaTp().equals(other.getNaTp())) && (this.getCdTb() == null ? other.getCdTb() == null : this.getCdTb().equals(other.getCdTb())) && (this.getEuParamtp() == null ? other.getEuParamtp() == null : this.getEuParamtp().equals(other.getEuParamtp())) && (this.getMethod() == null ? other.getMethod() == null : this.getMethod().equals(other.getMethod())) && (this.getEuStatus() == null ? other.getEuStatus() == null : this.getEuStatus().equals(other.getEuStatus())) && (this.getDes() == null ? other.getDes() == null : this.getDes().equals(other.getDes())) && (this.getNaUseCre() == null ? other.getNaUseCre() == null : this.getNaUseCre().equals(other.getNaUseCre())) && (this.getDtSysCre() == null ? other.getDtSysCre() == null : this.getDtSysCre().equals(other.getDtSysCre())) && (this.getDtSysModi() == null ? other.getDtSysModi() == null : this.getDtSysModi().equals(other.getDtSysModi())) && (this.getParam() == null ? other.getParam() == null : this.getParam().equals(other.getParam()));
	}

	@Override
	public int hashCode() {
	    final int prime = 31;
	    int result = 1;
	    result = prime * result + ((getIdTblog() == null) ? 0 : getIdTblog().hashCode());
	    result = prime * result + ((getNaTp() == null) ? 0 : getNaTp().hashCode());
	    result = prime * result + ((getCdTb() == null) ? 0 : getCdTb().hashCode());
	    result = prime * result + ((getEuParamtp() == null) ? 0 : getEuParamtp().hashCode());
	    result = prime * result + ((getMethod() == null) ? 0 : getMethod().hashCode());
	    result = prime * result + ((getEuStatus() == null) ? 0 : getEuStatus().hashCode());
	    result = prime * result + ((getDes() == null) ? 0 : getDes().hashCode());
	    result = prime * result + ((getNaUseCre() == null) ? 0 : getNaUseCre().hashCode());
	    result = prime * result + ((getDtSysCre() == null) ? 0 : getDtSysCre().hashCode());
	    result = prime * result + ((getDtSysModi() == null) ? 0 : getDtSysModi().hashCode());
	    result = prime * result + ((getParam() == null) ? 0 : getParam().hashCode());
	    return result;
	}

	@Override
	public String toString() {
	    StringBuilder sb = new StringBuilder();
	    sb.append(getClass().getSimpleName());
	    sb.append(" [");
	    sb.append("Hash = ").append(hashCode());
	    sb.append(", serialVersionUID=").append(serialVersionUID);
	    sb.append(", idTblog=").append(idTblog);
	    sb.append(", naTp=").append(naTp);
	    sb.append(", cdTb=").append(cdTb);
	    sb.append(", euParamtp=").append(euParamtp);
	    sb.append(", method=").append(method);
	    sb.append(", euStatus=").append(euStatus);
	    sb.append(", des=").append(des);
	    sb.append(", naUseCre=").append(naUseCre);
	    sb.append(", dtSysCre=").append(dtSysCre);
	    sb.append(", dtSysModi=").append(dtSysModi);
	    sb.append(", param=").append(param);
	    sb.append("]");
	    return sb.toString();
	}


}